findFragmentReferences

fun findFragmentReferences(graphqlContent: String): Set<String>

Finds all distinct references to fragments in some GraphQL String. A set of all unique fragment names (which are the references) is returned.